<template>
  <div class="margin_ orders">
    <el-tabs type="border-card">
      <el-tab-pane v-for="(item, index) in orders" :key="index" :label="item.label">
        <div class="list">内容</div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
export default {
  name: 'orders',
  components: {},
  data () {
    return {
      orders: [
        {
          type: 0,
          label: '待支付'
        },
        {
          type: 1,
          label: '待接单'
        },
        {
          type: 2,
          label: '进行中'
        },
        {
          type: 3,
          label: '已完成'
        }
      ]
    }
  }
}
</script>
